/*
 * Copyright (c) QieTv, Inc. 2018
 * @Author: idzeir
 * @Date: 2019-10-31 09:56:38
 * @Last Modified by: idzeir
 * @Last Modified time: 2020-06-02 17:17:06
 */
module.exports = {
  extends: ['@commitlint/config-conventional'],
  rules: {
    'header-max-length': [2, 'always', 120],
    'subject-case': [0],
    'type-enum': [
      2,
      'always',
      [
        'docs',
        'chore',
        'feat',
        'release',
        'fix',
        'merge',
        'perf',
        'refactor',
        'revert',
        'style',
        'test',
        'ci',
      ],
    ],
    'scope-empty': [0],
  },
};
